package com.feidee.bigdata.service;

import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestParam;

import java.math.BigInteger;

/**
 * @Author:CHQ
 * @Date:2020/5/11 17:36
 * @Description
 */
@FeignClient(value = "seata-storage-service")
public interface StorageService {
    @RequestMapping("/storage/decrease")
    void decrease(@RequestParam(value = "productId") Long productId,
                  @RequestParam(value = "count") Long count);
}
